package com.ruiyian.project.event.domain;

import com.ruiyian.common.annotation.Excel;
import com.ruiyian.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 事件记录对象 event_record
 *
 * @author ruoyi
 * @date 2021-12-23
 */
public class EventRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private String eventType;

    /** 发生地点(桩号) */
    @Excel(name = "发生地点(桩号)")
    private String chainage;

    /** 时间截图 */
    @Excel(name = "时间截图")
    private String imgUrl;

    /** 事件视频 */
    @Excel(name = "事件视频")
    private String videoUrl;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private String eventStatus;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEventType(String eventType)
    {
        this.eventType = eventType;
    }

    public String getEventType()
    {
        return eventType;
    }
    public void setChainage(String chainage)
    {
        this.chainage = chainage;
    }

    public String getChainage()
    {
        return chainage;
    }
    public void setImgUrl(String imgUrl)
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl()
    {
        return imgUrl;
    }
    public void setVideoUrl(String videoUrl)
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl()
    {
        return videoUrl;
    }
    public void setEventStatus(String eventStatus)
    {
        this.eventStatus = eventStatus;
    }

    public String getEventStatus()
    {
        return eventStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("eventType", getEventType())
                .append("chainage", getChainage())
                .append("imgUrl", getImgUrl())
                .append("videoUrl", getVideoUrl())
                .append("eventStatus", getEventStatus())
                .append("createTime", getCreateTime())
                .toString();
    }
}
